package com.tyg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RoleInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 角色id
     */
    @TableId(value = "roleId", type = IdType.AUTO)
    private Integer roleId;

    /**
     * 角色名
     */
    @TableField("roleName")
    private String roleName;

    /**
     * 角色职务
     */
    @TableField("roleNote")
    private String roleNote;

    /**
     * 逻辑删除
     */
    @TableField("delFlag")
    private Integer delFlag;


}
